package collection;

import java.util.ArrayList;
import java.util.Collections;
import java.util.List;

public class SortString {
    public static void main(String[] args) {
        List<String>list=new ArrayList<>();
        list.add("姜止咳");
        list.add("耿梦蕾");
        list.add("three");
        list.add("four");
        list.add("five");
        Collections.sort(list);
        System.out.println(list);
    }
}
